<?php /* Smarty version 2.6.18, created on 2009-05-07 13:23:59
         compiled from ua-admin/service_edit.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'ua-admin/service_edit.html', 48, false),array('function', 'html_radios', 'ua-admin/service_edit.html', 52, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</head>

<body leftmargin="10" topmargin="10">
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide"><tr>
  <td><div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo; 网站留言管理&nbsp;&raquo; 编辑</div></td>
</tr></table>
      <form name="editfrm" method="post" action="./service.php">
        <input type="hidden" name="id" value="<?php echo $_GET['id']; ?>
">
        <table width="100%"  border="0" cellpadding="5" cellspacing="1" class="tableborder">
            <tr class="header">
              <td colspan="4">用户留言区域</td>
            </tr>
          <tr>
            <td align="center" class="altbg1">标题</td>                            
            <td class="altbg2"><?php echo $this->_tpl_vars['s']['title']; ?>
</td>
            <td class="altbg1">类别</td>
            <td class="altbg2"><?php echo $this->_tpl_vars['ServiceTypes'][$this->_tpl_vars['s']['type_id']]; ?>
</td>
          </tr>
          <tr>
            <td align="center" class="altbg1">提交人</td>
            <td class="altbg2"><?php echo $this->_tpl_vars['s']['nick_name']; ?>
</td>
            <td class="altbg1">联系Email：</td>
            <td class="altbg2"><?php echo $this->_tpl_vars['s']['email']; ?>
</td>
          </tr>
          
          
          <tr>
            <td align="center" class="altbg1">内容</td> 
            <td colspan="3" class="altbg2"><?php echo $this->_tpl_vars['s']['content']; ?>
</td>
          </tr>
           <tr class="header">
              <td colspan="4">管理员操作区</td>
          </tr>
          <tr>
            <td align="center" class="altbg1">回复管理员</td>                           
            <td class="altbg2"><?php if ($this->_tpl_vars['s']['adminer_user_name'] == ""): ?>
              无
                <?php else: ?>
              <?php echo $this->_tpl_vars['s']['adminer_user_name']; ?>

              <?php endif; ?></td>
            <td class="altbg1">回复时间</td>
            <td class="altbg2"><?php echo ((is_array($_tmp=$this->_tpl_vars['s']['revert_date'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S")); ?>
</td>
          </tr>
          <tr>
            <td align="center" class="altbg1">状态</td>                            
            <td colspan="3" class="altbg2"><?php echo smarty_function_html_radios(array('name' => "service[status]",'options' => $this->_tpl_vars['ServiceStatus'],'checked' => $this->_tpl_vars['s']['status'],'separator' => ' '), $this);?>
</td>
          </tr>
          <tr>
            <td align="center" class="altbg1">管理员回复</td>                            
            <td colspan="3" class="altbg2"><textarea name="service[revert_content]" rows="5" cols="50"><?php echo $this->_tpl_vars['s']['revert_content']; ?>
</textarea></td>
          </tr>
          
          <tr>
            <td colspan="4" align="center"><table border="0" cellpadding="5" cellspacing="0" class="button">
                <tr>
                  <td><input  name=save type=submit id="save" value=" 保存 "  class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
                  <td><input  name=reset type=reset id="reset" value=" 取消" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
                </tr>
          </table>          </tr>
        </table>
      </form></td></tr></table>
<br /><br />
</body>
</html>
